package com20230216;

public class Test {
    public static void main(String[] args) {
        Manager worker1 = new Manager();
        worker1.setId(123);
        worker1.setSalary(15000);
        worker1.setBonus(6000);
        worker1.setName("项目经理");
        worker1.work();
        Coder worker2 = new Coder("程序员",135,10000);
        worker2.work();
    }
}
